const express = require('express')
const app = express()
const Router = require('./router')
let cors = require('cors')
var port = 8165

app.use(cors())

app.use(express.json())
app.use(express.urlencoded({ extended: true }))

app.use('/',Router)

app.listen(port,() => {
    console.log(port+'端口正在监听..')
})